<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<title>课程选择</title>
<link rel="stylesheet" th:href="@{/styles.css}" />

</head>
<body>
<<<<<<< HEAD
    <div class="name" th:each="user:${user}">
    <span>用户名：</span>
    <span th:text=${user.username}></span>
    </div>
=======
>>>>>>> 3edfb768830aad65280760d8840187b9a62356fb
 <img th:src="@{/images/cat.jpg}"/>
	<div th:each="order:${orders}">
	<table>
			<tr>
				<td>学号：</td>
				<td><span th:text="${order.number}">Course</span><br></td>
			</tr>
			<tr>
				<td>学生：</td>
				<td><span th:text="${order.name}">Course</span><br></td>
			</tr>
			<tr>
				<td>班级：</td>
				<td><span th:text="${order.year}">Course</span><br></td>
			</tr>
			<tr>
			<td>专业：</td>
				<td><span th:text="${order.major}">Course</span><br></td>
			</tr>
			<tr>
			<td>学院：</td>
				<td><span th:text="${order.college}">Course</span><br></td>
			</tr>
			<td>已选课程：</td>
				<td th:each="class:${order.tacos}">
					<p th:each="course:${class.ingredients}">
					<span th:text="${course.name}">无</span><br>
				</td>
	</table>
	</div>
	

	
<button><a th:href="@{/}">返回主页面</a></button>
<form method="POST" th:action="@{/logout}" id="logoutForm">
      <input type="submit" value="Logout"/>
    </form>
</body>
</html>